/**
 * Include this file _after_ the main backbone-forms file to override the default templates.
 * You only need to include templates you want to override.
 * 
 * Requirements when customising templates:
 * - Each template must have one 'parent' element tag.
 * - "data-type" attributes are required.
 * - The main placeholder tags such as the following are required: fieldsets, fields
 */
;(function() {
  var Asset = Backbone.Asset;

  Asset.setTemplates({

	  //HTML
	    block: '\
	    	<div class="block">\
		    	<div class="subnav">\
					<ul class="nav nav-pills">\
	    				{{navs}}\
					</ul>\
				</div>\
				<div class="block_content" id="block_content" style="height:420px;overflow-y:auto;position:relative;">\
					<div class="sections">{{sections}}</div>\
				</div>\
			</div>\
	    ',

	    section: '\
	    	<section id="sec_{{key}}">\
				<div class="page-header-h2">\
					<h2>{{title}}</h2>\
				</div>\
				<div class="row">\
	    			{{content}}\
				</div>\
			</section>\
	    '
    	
  }, {
  
    //CLASSNAMES
    error: 'error' //Set on the field tag when validation fails
  });


})();
